package net.ericaro.neojavagen.classes ;
import net.ericaro.neojavagen.classes.MethodHeader;
import net.ericaro.neojavagen.classes.MethodBody;
import net.ericaro.neojavagen.classes.ClassBodyDeclaration ;

/**
* *<pre> MethodDeclaration :
    MethodHeader MethodBody
</pre>
*/
public class MethodDeclaration  implements ClassBodyDeclaration {

MethodHeader methodheader;
MethodBody methodbody ;

public MethodDeclaration( MethodHeader methodheader, MethodBody methodbody ){
	this.methodheader = methodheader; this.methodbody = methodbody ;
	}


public String toString(){
	StringBuilder stringbuilder = new StringBuilder();
	stringbuilder.append( this.methodheader ).append(" ");
stringbuilder.append( this.methodbody ).append(" ") ;
	return stringbuilder.toString();
}

}
